package com.commute.planner;

import java.util.Date;

import com.commute.data.Route;
import com.commute.data.Stop;

public class RecommendedTrips {
	
	
	private Stop bestEnd;
	private Route routeEnd;
	private Date endTime;
	
	private Stop bestStart;
	private Route routeStart;
	private Date startTime; 
	
	private boolean transfer=false;
	
	public RecommendedTrips(){
		
	}
	
	public void setTripStop(Route route, Stop stop){
		this.bestEnd=stop;
		this.routeEnd=route;
	}
	
	public void setTripStart(Route route, Stop stop){
		this.bestStart=stop;
		this.routeStart=route;
	}
	
	public void setTranfer(){
		transfer=true;
	}
	
	public void setEndTime(Date endTime){
		this.endTime=endTime;
	}
	
	public void setStartTime(Date startTime){
		this.startTime=startTime;
	}
	
	public Stop getBestEnd(){
		return this.bestEnd;
	}
	
	public Route getRouteEnd(){
		return this.routeEnd;
	}
	
	public Stop getBestStart(){
		return this.bestStart;
	}
	
	public Route getRouteStart(){
		return this.routeStart;
	}
	
	public boolean isTransfer(){
		return transfer;
	}
	
	public Date getStartTime(){
		return this.getStartTime();
	}
	
	public Date getEndTime(){
		return this.getEndTime();
	}
	
}
